package cn.com.bluemoon.daps.system.vo;

import cn.com.bluemoon.daps.common.domain.BmPageRequestVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Size;

/**
 * @author Jarod.Kong
 */
@EqualsAndHashCode(callSuper = true)
@SuppressWarnings("rawtypes")
@ApiModel(description = "消息列表分页查询")
@Data
public class NoticePageRequestVo<T> extends BmPageRequestVo<T> {
    @ApiModelProperty("关键字：标题、内容")
    @Size(max = 100, message = "关键字最大不超过{max}")
    private String keyword;

    @ApiModelProperty("类型 1-影响通知")
    private Integer noticeTemplate;
}
